package org.stu.service;

import java.util.List;
import java.util.Map;

import org.stu.dto.ExpenseRecord;
import org.stu.dto.ExpenseRecordType;

public interface ExpenseManager {
	   void addExpenseRecord(ExpenseRecord expenseRecord);
		
		Map getAllExpenseRecordTypes()
		throws Exception;

		ExpenseRecordType getExpenseRecordTypeById(int id);
		
		List getExpenseRecordRows(int pageSize,int startRow,int userId);
		
		int getExpenseRecordTotalRows();
		
		
		void addExpenseRecordType(ExpenseRecordType expenseRecordType);
}
